package com.yuw.inner.niming;

public abstract class FamilyInfoAbstract {

	// 属性
	private String stuMatherName;
	private String stuFatherName;
	private String stuFamilyAddress;

	// 行为
	// 抽象方法
	public abstract String getStuFamilyInfo();

	public FamilyInfoAbstract(String stuMatherName, String stuFatherName, String stuFamilyAddress) {
		super();
		this.stuMatherName = stuMatherName;
		this.stuFatherName = stuFatherName;
		this.stuFamilyAddress = stuFamilyAddress;
	}

	public String getStuMatherName() {
		return stuMatherName;
	}

	public void setStuMatherName(String stuMatherName) {
		this.stuMatherName = stuMatherName;
	}

	public String getStuFatherName() {
		return stuFatherName;
	}

	public void setStuFatherName(String stuFatherName) {
		this.stuFatherName = stuFatherName;
	}

	public String getStuFamilyAddress() {
		return stuFamilyAddress;
	}

	public void setStuFamilyAddress(String stuFamilyAddress) {
		this.stuFamilyAddress = stuFamilyAddress;
	}

	@Override
	public String toString() {
		return "StuFamily [stuMatherName=" + stuMatherName + ", stuFatherName=" + stuFatherName + ", stuFamilyAddress="
				+ stuFamilyAddress + "]";
	}

}
